<include file="__THEME__/user_header" />
	
	<article class="app_widgets"> 
		<div class="tip hidden">朋友就像狗与骨头，分开就想，在一起就咬</div>
		
		<!--group begin-->
		<div class="friend_group good_friend">
			<h3><em class="icon2">&nbsp;</em>好朋友</h3>
			<?php 
			$i = 0;
			foreach ($friends_good['data'] as $friend):
			?>	
			<!-- friend begin -->
			<div class="friend <?php if ($i%2):?>even<?php endif;?>">
				<?php echo getUserSpace($friend['friend_uid'],'avatar_120','_blank','{uavatar}');?>
				
				<div class="friend_news">
					<ul class="news">
						<li>他正在<a href="#">【街心花园】</a>玩，我也要去，给他发个信</li>
						<li>他今天中午吃了<a href="#">【蛋炒饭】</a><a href="#">【荷包饭】</a>，晚饭想吃<a href="#">【鸡丁】</a><a href="#">【黄瓜鸡蛋】</a></li>
						<li>他的爸爸写了篇日记，说：<a href="#">看到孩子开心我很开心</a></li>
						<li>他给你发了条站内信，<a href="#">看看去</a></li>
					</ul>
				</div>
			</div>
			<!-- friend end -->
			<?php endforeach;?>
		</div>
		<!--group end -->
		
				<!-- group begin -->
		<div class="friend_group friend_player">
			<h3><em class="icon2">&nbsp;</em>玩伴</h3>
			<ul class="friends">
				<?php foreach ($friends_play['data'] as $friend):?>
				<li>
					<div>
						<div class="friend_icon">
						<?php echo getUserSpace($friend['friend_uid'],'avatar_68','_blank','{uavatar}');?>
						<a href="{:U('home/friend/info', array('fuid' => $friend['friend_uid']))}" class="name"> {$friend.friend_uid|getUserName}</a>
						</div>
	
					</div>

				</li>
				<?php endforeach;?>
			</ul>
		</div>
		<!-- group end -->		
		
		
		
		<!-- group begin -->
		<div class="friend_group friend_know">
			<h3><em class="icon2">&nbsp;</em>我认识的</h3>
			<ul class="friends">
				<?php foreach ($friends_known['data'] as $friend):?>
				<li>
					<div>
						<div class="friend_icon">
						<?php echo getUserSpace($friend['friend_uid'],'avatar_68','_blank','{uavatar}');?>
						<a href="{:U('home/friend/info', array('fuid' => $friend['friend_uid']))}" class="name"> {$friend.friend_uid|getUserName}</a>
						</div>
	
					</div>

				</li>
				<?php endforeach;?>
			</ul>
		</div>
		<!-- group end -->		
		
	

		<!-- group begin -->
		<div class="friend_group friend_visited">
			<h3><em class="icon2">&nbsp;</em>最近看过我的</h3>
			<ul class="friends">
				<li>
					<div class="avatar_68">
						<a href="{:U('home/friend/info')}" ><img src="{:ayw_asset('image/avatar_128.jpg')}" /></a>
						<a href="{:U('home/friend/info')}" class="name" >Thinker </a>
					</div>
					<ul class="buttons"> 
						<li><a href="" class="addfriend">加为好友</a></li>
					</ul>	
				</li>
				<li>
					<div class="avatar_68">
						<a href="{:U('home/friend/info')}" ><img src="{:ayw_asset('image/avatar_128.jpg')}" /></a>
						<a href="{:U('home/friend/info')}" class="name" >Thinker </a>
					</div>
					<ul class="buttons"> 
						<li><a href="" class="addfriend">加为好友</a></li>
					</ul>	
				</li>
				<li>
					<div class="avatar_68">
						<a href="{:U('home/friend/info')}" ><img src="{:ayw_asset('image/avatar_128.jpg')}" /></a>
						<a href="{:U('home/friend/info')}" class="name" >Thinker </a>
					</div>
					<ul class="buttons"> 
						<li><a href="" class="addfriend">加为好友</a></li>
					</ul>	
				</li>
				
			</ul>			
		</div>
		<!-- group end -->			

		<!-- group begin -->
		<div class="friend_group friend_visited">
			<h3><em class="icon2">&nbsp;</em>我可能认识的</h3>
			<ul class="friends">
				<?php foreach ($maybeknown as $index => $data) :?>
				<li>
					<div class="friend_icon">
					<?php echo getUserSpace($data['uid'],'avatar_68','_blank','{uavatar}');?>
					<a href="{:U('home/friend/info', array('uid' => $data['uid']))}" class="name" >{$data.uid|getUserName}</a>
					</div>
					<!--<ul class="buttons"> 
						<li><a href="" class="addfriend">加为好友</a></li>
					</ul>-->	
				</li>
				<?php endforeach;?>
				
			</ul>			
		</div>
		<!-- group end -->						
	</article>
<include file="__THEME__/user_footer" /> 